//
//  TaskCollector.h
//  TaskManager
//
//  Created by Dmitriy on 03.06.13.
//  Copyright (c) 2013 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Task.h"

@interface TaskCollector : NSObject
{
    NSMutableArray *tasksCollection;
}
+ (TaskCollector*) sharedInstance;
- (Task*) getTaskWithIndex:(int)index;
- (void) appendTask:(Task*)task;
- (int) getAmountOfTasks;
-(void) fill;
-(void) deleteTaskWithIndex:(int)index;
-(NSString*) saveFilePath;
-(void) loadTasksFromFile;
-(void) saveTasksToFile;

@end
